﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using K9Nano.Domain.Entities;

namespace K9Nano.Domain.Settings;

[Description("系统设置表")]
public class AppSetting : AuditEntityBase
{
    [Column(Order = 100)]
    [StringLength(255)]
    [Description("设置项名称")]
    public string Name { get; set; }

    [Column(Order = 110)]
    [StringLength(255)]
    [Description("设置值")]
    public string Value { get; set; }

    [Column(Order = 120)]
    [StringLength(36)]
    [Description("用户ID")]
    public long? UserId { get; set; }
}
